import axios from '@/utils/request'

// 创建收藏夹
export function createFavoriteFolder(data) {
  return axios.post('/favorite-folders', data);
}

// 删除收藏夹 
export function deleteFavoriteFolder(data) {
  return axios.delete('/favorite-folders', {
    data
  });
}

// 获取用户的所有收藏夹
export function getAllFavoriteFoldersByUserId(userId) {
  return axios.get(`/favorite-folders/${userId}`);
}
